package com.fulihui.wgj.admin.integration;

import com.fulihui.common.result.web.PageView;
import com.fulihui.common.result.web.Result;
import com.fulihui.wgj.admin.api.wxtemplate.request.TemplateDeleteRequest;
import com.fulihui.wgj.admin.api.wxtemplate.request.TemplatePageQueryRequest;
import com.fulihui.wgj.admin.api.wxtemplate.vo.WxTemplateDataVO;
import com.fulihui.wgj.admin.api.wxtemplate.vo.WxTemplateVO;

import java.util.List;

/**
 * @author: Levon
 * @date: 2018-07-25 17:42
 */
public interface WxTemplateServiceClient {

    Result<Boolean> syncTemplates(String appId);

    Result<List<String>> queryDeputyIndustry(String appId);

    PageView<WxTemplateVO> queryWxTemplates(TemplatePageQueryRequest request);

    Result<Boolean> delTemplate(TemplateDeleteRequest request);

    Result<WxTemplateDataVO> queryLately(String loginId);

    Result<WxTemplateDataVO> selectTemplate(String loginId, String templateId);

}
